package com.ihelp.service;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ihelp.pojo.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ihelp.pojo.OrderDTO;
import com.ihelp.pojo.User;
import org.aspectj.weaver.ast.Or;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LiuZiMing
 * @since 2023-05-23
 */
public interface OrderService extends IService<Order> {

    List<OrderDTO> getAllOrder();
    OrderDTO getOrderById(Integer id);
    public List<OrderDTO> getOrderByDynamicConditions(Integer id,Integer visitorId,Integer accompanyerId,String orderTime,Double duration,
                                                   Integer hospitalId,String visitOrder,String visitorEvaluate,String accompanyerEvaluate,
                                                   Integer serviceTypeId,Integer orderStatusId,Integer visitorEvaluateLevelId,Integer accompanyerEvaluateLevelId);


    int createOrder(Integer visitorId, Integer accompanyerId, String orderTime,String visitTime,
                    Double duration, Integer serviceTypeId, String visitInformation,
                    Integer hospitalId,Integer hospitalDepartmentId);


}
